import request from '@/utils/request'

export default {
    //    查找一级分类列表
    getCategory1() {
        return request.get('/admin/product/getCategory1')
    },

    // 查找二级分类列表
    getCategory2(category1Id) {
        return request.get('/admin/product/getCategory2/'+  category1Id)
    },

    //  查找三级分类列表
    getCategory3(category2Id) {
        return request.get('/admin/product/getCategory3/' + category2Id)
    }
}